#include "eframedanimation.h"

EFramedAnimation::EFramedAnimation()
    : m_nCurrentFrame(0)
{
}

void EFramedAnimation::reset()
{
}

void EFramedAnimation::update(float dt)
{
}

boost::shared_ptr<ETexture> EFramedAnimation::texture() const
{
    return m_texture.lock();
}

QRect EFramedAnimation::currentFrameRect() const
{
    return m_frameRects.at(m_nCurrentFrame);
}
